home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / SecalDemo / Inc / prefs / printerps.inc < prev    next >
Encoding:
Text File  |  1997-06-11  |  1.8 KB  |  101 lines

  1. include "inc/exec/types.inc";
  2. include "inc/libraries/iffparse.inc";
  3.  
  4. struct PrinterPSPrefs is
  5.   ps_Reserved[4]:long;
  6.   ps_DriverMode:ubyte;
  7.   ps_PaperFormat:ubyte;
  8.   ps_Reserved1[2]:ubyte;
  9.   ps_Copies:long;
  10.   ps_PaperWidth:long;
  11.   ps_PaperHeight:long;
  12.   ps_HorizontalDPI:long;
  13.   ps_VerticalDPI:long;
  14.   ps_Font:ubyte;
  15.   ps_Pitch:ubyte;
  16.   ps_Orientation:ubyte;
  17.   ps_Tab:ubyte;
  18.   ps_Reserved2[8]:ubyte;
  19.   ps_LeftMargin:long;
  20.   ps_RightMargin:long;
  21.   ps_TopMargin:long;
  22.   ps_BottomMargin:long;
  23.   ps_FontPointSize:long;
  24.   ps_Leading:long;
  25.   ps_Reserved3[8]:ubyte;
  26.   ps_LeftEdge:long;
  27.   ps_TopEdge:long;
  28.   ps_Width:long;
  29.   ps_Height:long;
  30.   ps_Image:ubyte;
  31.   ps_Shading:ubyte;
  32.   ps_Dithering:ubyte;
  33.   ps_Reserved4[9]:ubyte;
  34.   ps_Aspect:ubyte;
  35.   ps_ScalingType:ubyte;
  36.   ps_Reserved5:ubyte;
  37.   ps_Centering:ubyte;
  38.   ps_Reserved6[8]:ubyte;
  39. ;
  40.  
  41. def DM_POSTSCRIPT = 0;
  42. def DM_PASSTHROUGH = 1;
  43.  
  44. def PF_USLETTER = 0;
  45. def PF_USLEGAL = 1;
  46. def PF_A4 = 2;
  47. def PF_CUSTOM = 3;
  48.  
  49. def FONT_COURIER = 0;
  50. def FONT_TIMES = 1;
  51. def FONT_HELVETICA = 2;
  52. def FONT_HELV_NARROW = 3;
  53. def FONT_AVANTGARDE = 4;
  54. def FONT_BOOKMAN = 5;
  55. def FONT_NEWCENT = 6;
  56. def FONT_PALATINO = 7;
  57. def FONT_ZAPFCHANCERY = 8;
  58.  
  59. def PITCH_NORMAL = 0;
  60. def PITCH_COMPRESSED = 1;
  61. def PITCH_EXPANDED = 2;
  62.  
  63. def ORIENT_PORTRAIT = 0;
  64. def ORIENT_LANDSCAPE = 1;
  65.  
  66. def TAB_4 = 0;
  67. def TAB_8 = 1;
  68. def TAB_QUART = 2;
  69. def TAB_HALF = 3;
  70. def TAB_INCH = 4;
  71.  
  72. def IM_POSITIVE = 0;
  73. def IM_NEGATIVE = 1;
  74.  
  75. def SHAD_BW = 0;
  76. def SHAD_GREYSCALE = 1;
  77. def SHAD_COLOR = 2;
  78.  
  79. def DITH_DEFAULT = 0;
  80. def DITH_DOTTY = 1;
  81. def DITH_VERT = 2;
  82. def DITH_HORIZ = 3;
  83. def DITH_DIAG = 4;
  84.  
  85. def ASP_HORIZ = 0;
  86. def ASP_VERT = 1;
  87.  
  88. def ST_ASPECT_ASIS = 0;
  89. def ST_ASPECT_WIDE = 1;
  90. def ST_ASPECT_TALL = 2;
  91. def ST_ASPECT_BOTH = 3;
  92. def ST_FITS_WIDE = 4;
  93. def ST_FITS_TALL = 5;
  94. def ST_FITS_BOTH = 6;
  95.  
  96. def CENT_NONE = 0;
  97. def CENT_HORIZ = 1;
  98. def CENT_VERT = 2;
  99. def CENT_BOTH = 3;
  100.  
  101.